package com.aspose.cells;

class zbal implements zahp {
   com.aspose.cells.b.a.b.zq a = new com.aspose.cells.b.a.b.zq(0.0F, 0.0F, 0.0F, 0.0F);
   int b;
   com.aspose.cells.b.a.b.zt c;
   private com.aspose.cells.b.a.b.zg d;
   private String e = "";
   private Color f;
   private zxp g;
   private boolean h = false;

   zbal(String var1, com.aspose.cells.b.a.b.zg var2, Color var3, zagt var4, int var5) {
      this.e = var1;
      this.d = var2;
      this.f = var3;
      this.b = var5;
      if (var5 == 2 && (var1 == null || "".equals(var1))) {
         this.a(1);
      }

      this.g = new zxp();
      this.g.a(var4.a());
      this.g.b(var4.b());
      this.g.c(var4.c());
      this.g.d(var4.d());
      this.g.a(var4.e());
      this.g.f(var4.g());
      this.g.e(var4.f());
      this.g.g(var4.h());
   }

   public int e() {
      return this.b;
   }

   public void a(int var1) {
      this.b = var1;
   }

   public String a() {
      return this.e;
   }

   public void a(String var1) {
      this.e = var1;
   }

   public com.aspose.cells.b.a.b.zg b() {
      return this.d;
   }

   public Color c() {
      return this.f;
   }

   public zxp d() {
      return this.g;
   }

   protected void finalize() throws Exception {
      this.a(false);
   }

   public void f() {
      this.a(true);
      com.aspose.cells.b.a.zg.a(this);
   }

   protected void a(boolean var1) {
      if (!this.h) {
         if (var1 && this.d != null) {
            this.d.n();
         }

         this.h = true;
      }

   }
}
